home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950929-19951130
/
000262_news@columbia.edu_Tue Oct 31 04:50:22 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
1KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA05617
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 1 Nov 1995 10:08:52 -0500
Received: by apakabar.cc.columbia.edu id AA27614
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 1 Nov 1995 10:08:50 -0500
Path: news.columbia.edu!sol.ctr.columbia.edu!news.uoregon.edu!news.corpcomm.net!news3.net99.net!news.cais.net!simtel!news.sprintlink.net!vodka.intele.net!usenet
From: gerry@blue.intele.net (Gerry Jensen)
Newsgroups: comp.protocols.kermit.misc
Subject: how to assign output of command to variable
Date: 31 Oct 1995 04:50:22 GMT
Organization: Opti-Med International
Lines: 18
Message-Id: <4749uf$cr4@vodka.intele.net>
Nntp-Posting-Host: green.intele.net
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
X-Newsreader: WinVN 0.99.6
Apparently-To: kermit.misc@watsun.cc.columbia.edu
I am trying to write a Kermit script file for ckermit on a Unix system.
I wish to assign the output from a Unix command to a variable similar
to the following sh-style command:
SomeVar=`ls`
Is it possible to do something like this in a Kermit script? Something
like:
define \%a run ls ; (i know this doesn't work)
i.e. assign the output from the ls command to the variable \%a ?
Thanks,
Gerry
gerry@blue.intele.net